#!/bin/bash
yum install -y vsftpd
chkconfig vsftpd on

status vsftpd
systemctl status vsftpd.service
systemctl start vsftpd.service
systemctl status vsftpd.service
systemctl enable vsftpd.service
systemctl enable firewalld
systemctl restart firewalld
firewall-cmd --permanent --zone=public --add-service=ftp
firewall-cmd --reload
getsebool -a | grep ftp
setsebool -P ftpd_full_access on
ifconfig